package rpc;
import java.io.IOException;
import mobile.game.core.InputStream;
import mobile.game.core.gen.JowGenFile;

@JowGenFile
public final class CommonSerializer{
	public static mobile.game.core.interfaces.ISerilizable create(int id, InputStream in) throws IOException {
		switch(id){
			case 462564157:
				return new mobile.game.core.Call();
			case 482588755:
				return new mobile.game.core.CallPoint();
			case 2123707085:
				return new mobile.game.core.CallReturn();
			case 1454804334:
				return new mobile.game.core.Chunk();
			case -1565399121:
				return new mobile.game.core.support.Param();
			case 696757706:
				return new mobile.game.core.support.TickTimer();
			case 1247554412:
				return new mobile.game.core.support.random.RandomFixUtils();
			case -521687939:
				return new mobile.game.core.support.random.StageRandomUtils();
			case 1725679678:
				return mobile.game.core.support.tuple.FourTuple.create(in);
			case -157184434:
				return mobile.game.core.support.tuple.ThreeTuple.create(in);
			case 1153220448:
				return mobile.game.core.support.tuple.TwoTuple.create(in);
		}
		return null;
	}
	public static void init(){
		InputStream.setCreateCommonFunc(CommonSerializer::create);
	}
}

